package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jack.wang on 2015/12/23.
 */
public class ResponseOrderInfo {
// 获得该订单（号）对应的地址信息
    public int status;
    public Object errors;
    public String msg;
    public Data data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getErrors() {
        return errors;
    }

    public void setErrors(Object errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data{
        public int orderId;
        public String orderCode;
        public String warehouse;
        public String warehouseName;
        public String statusCode;
        public String statusName;
        public String storeName;
        public String comment;
        public String storeUrl;
        public int type;
        public String paymentMethod;
        public String paymentCode;
        public String paymentAmount;
        public String shippingFullname;
        public String shippingTelephone;
        public String shippingCompany;
        public String shippingCompanyCode;
        public String shippingNumber;
        public String shippingAddress;
        public int shippingRegionCode;
        public String shippingPostcode;
        public String shippingMethod;
        public double total;
        public double tax;
        public double freight;
        public double insuredFee;
        public int commission;
        public long dateAdded;
        public long dateModified;
        public String datePay;
        public List<Product> products;

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public String getWarehouse() {
            return warehouse;
        }

        public void setWarehouse(String warehouse) {
            this.warehouse = warehouse;
        }

        public String getWarehouseName() {
            return warehouseName;
        }

        public void setWarehouseName(String warehouseName) {
            this.warehouseName = warehouseName;
        }

        public String getStatusCode() {
            return statusCode;
        }

        public void setStatusCode(String statusCode) {
            this.statusCode = statusCode;
        }

        public String getStatusName() {
            return statusName;
        }

        public void setStatusName(String statusName) {
            this.statusName = statusName;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getStoreUrl() {
            return storeUrl;
        }

        public void setStoreUrl(String storeUrl) {
            this.storeUrl = storeUrl;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPaymentMethod() {
            return paymentMethod;
        }

        public void setPaymentMethod(String paymentMethod) {
            this.paymentMethod = paymentMethod;
        }

        public String getPaymentCode() {
            return paymentCode;
        }

        public void setPaymentCode(String paymentCode) {
            this.paymentCode = paymentCode;
        }

        public String getPaymentAmount() {
            return paymentAmount;
        }

        public void setPaymentAmount(String paymentAmount) {
            this.paymentAmount = paymentAmount;
        }

        public String getShippingFullname() {
            return shippingFullname;
        }

        public void setShippingFullname(String shippingFullname) {
            this.shippingFullname = shippingFullname;
        }

        public String getShippingTelephone() {
            return shippingTelephone;
        }

        public void setShippingTelephone(String shippingTelephone) {
            this.shippingTelephone = shippingTelephone;
        }

        public String getShippingCompany() {
            return shippingCompany;
        }

        public void setShippingCompany(String shippingCompany) {
            this.shippingCompany = shippingCompany;
        }

        public String getShippingCompanyCode() {
            return shippingCompanyCode;
        }

        public void setShippingCompanyCode(String shippingCompanyCode) {
            this.shippingCompanyCode = shippingCompanyCode;
        }

        public String getShippingNumber() {
            return shippingNumber;
        }

        public void setShippingNumber(String shippingNumber) {
            this.shippingNumber = shippingNumber;
        }

        public String getShippingAddress() {
            return shippingAddress;
        }

        public void setShippingAddress(String shippingAddress) {
            this.shippingAddress = shippingAddress;
        }

        public int getShippingRegionCode() {
            return shippingRegionCode;
        }

        public void setShippingRegionCode(int shippingRegionCode) {
            this.shippingRegionCode = shippingRegionCode;
        }

        public String getShippingPostcode() {
            return shippingPostcode;
        }

        public void setShippingPostcode(String shippingPostcode) {
            this.shippingPostcode = shippingPostcode;
        }

        public String getShippingMethod() {
            return shippingMethod;
        }

        public void setShippingMethod(String shippingMethod) {
            this.shippingMethod = shippingMethod;
        }

        public double getTotal() {
            return total;
        }

        public void setTotal(double total) {
            this.total = total;
        }

        public double getTax() {
            return tax;
        }

        public void setTax(double tax) {
            this.tax = tax;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }

        public double getInsuredFee() {
            return insuredFee;
        }

        public void setInsuredFee(double insuredFee) {
            this.insuredFee = insuredFee;
        }

        public int getCommission() {
            return commission;
        }

        public void setCommission(int commission) {
            this.commission = commission;
        }

        public long getDateAdded() {
            return dateAdded;
        }

        public void setDateAdded(long dateAdded) {
            this.dateAdded = dateAdded;
        }

        public long getDateModified() {
            return dateModified;
        }

        public void setDateModified(long dateModified) {
            this.dateModified = dateModified;
        }

        public String getDatePay() {
            return datePay;
        }

        public void setDatePay(String datePay) {
            this.datePay = datePay;
        }

        public List<Product> getProducts() {
            return products;
        }

        public void setProducts(List<Product> products) {
            this.products = products;
        }

        public static class Product{
            public int productId;
            public String name;
            public String model;
            public String refPrice;
            public double price;
            public int orderProductId;
            public String barcode;
            public String serialNumber;
            public String image;
            public String priceType;
            public double taxRate;
            public double tax;
            public int quantity;
            public double total;
            public String outProductId;

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getRefPrice() {
                return refPrice;
            }

            public void setRefPrice(String refPrice) {
                this.refPrice = refPrice;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getOrderProductId() {
                return orderProductId;
            }

            public void setOrderProductId(int orderProductId) {
                this.orderProductId = orderProductId;
            }

            public String getBarcode() {
                return barcode;
            }

            public void setBarcode(String barcode) {
                this.barcode = barcode;
            }

            public String getSerialNumber() {
                return serialNumber;
            }

            public void setSerialNumber(String serialNumber) {
                this.serialNumber = serialNumber;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getPriceType() {
                return priceType;
            }

            public void setPriceType(String priceType) {
                this.priceType = priceType;
            }

            public double getTaxRate() {
                return taxRate;
            }

            public void setTaxRate(double taxRate) {
                this.taxRate = taxRate;
            }

            public double getTax() {
                return tax;
            }

            public void setTax(double tax) {
                this.tax = tax;
            }

            public int getQuantity() {
                return quantity;
            }

            public void setQuantity(int quantity) {
                this.quantity = quantity;
            }

            public double getTotal() {
                return total;
            }

            public void setTotal(double total) {
                this.total = total;
            }

            public String getOutProductId() {
                return outProductId;
            }

            public void setOutProductId(String outProductId) {
                this.outProductId = outProductId;
            }

            @Override
            public String toString() {
                return "Product{" +
                        "productId=" + productId +
                        ", name='" + name + '\'' +
                        ", model='" + model + '\'' +
                        ", refPrice='" + refPrice + '\'' +
                        ", price=" + price +
                        ", orderProductId=" + orderProductId +
                        ", barcode='" + barcode + '\'' +
                        ", serialNumber='" + serialNumber + '\'' +
                        ", image='" + image + '\'' +
                        ", priceType='" + priceType + '\'' +
                        ", taxRate=" + taxRate +
                        ", tax=" + tax +
                        ", quantity=" + quantity +
                        ", total=" + total +
                        ", outProductId='" + outProductId + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "Data{" +
                    "orderId=" + orderId +
                    ", orderCode='" + orderCode + '\'' +
                    ", warehouse='" + warehouse + '\'' +
                    ", warehouseName='" + warehouseName + '\'' +
                    ", statusCode='" + statusCode + '\'' +
                    ", statusName='" + statusName + '\'' +
                    ", storeName='" + storeName + '\'' +
                    ", comment='" + comment + '\'' +
                    ", storeUrl='" + storeUrl + '\'' +
                    ", type=" + type +
                    ", paymentMethod='" + paymentMethod + '\'' +
                    ", paymentCode='" + paymentCode + '\'' +
                    ", paymentAmount='" + paymentAmount + '\'' +
                    ", shippingFullname='" + shippingFullname + '\'' +
                    ", shippingTelephone='" + shippingTelephone + '\'' +
                    ", shippingCompany='" + shippingCompany + '\'' +
                    ", shippingCompanyCode='" + shippingCompanyCode + '\'' +
                    ", shippingNumber='" + shippingNumber + '\'' +
                    ", shippingAddress='" + shippingAddress + '\'' +
                    ", shippingRegionCode=" + shippingRegionCode +
                    ", shippingPostcode='" + shippingPostcode + '\'' +
                    ", shippingMethod='" + shippingMethod + '\'' +
                    ", total=" + total +
                    ", tax=" + tax +
                    ", freight=" + freight +
                    ", insuredFee=" + insuredFee +
                    ", commission=" + commission +
                    ", dateAdded=" + dateAdded +
                    ", dateModified=" + dateModified +
                    ", datePay='" + datePay + '\'' +
                    ", products=" + products +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ResponseOrderInfo{" +
                "status=" + status +
                ", errors=" + errors +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
